/***
 * 
 * 子分类导航显示
 * 和跳转地址配置--可以后进行管理显示
 * 
 * * */
 import {ref,reactive} from "vue";
 import router from "@/router.js"; 
 //import {UpdataLogin,GetCaptchaGetCode,UpdataUserLogout} from "@/api/login.js";//接口地址

export class Menu {
    constructor(parameters) {
        
    }

    public data=reactive([{
		icon: "iconkaiqipingmu",
		id: "1421416093810024449",
		intro: "",
		link: "http://localhost:8080/#/module/lists",
		name: "账号管理",
		openType: 1,
		pid:"-1",
		pname:"",
        router:"",
		serviceName:"user",
		sort: 0,
		type: 0,
        children:[{
            icon: "iconwuliu",
            name:"账号列表",
            router:"/user/list",
            serviceName: "user",
        },{
            icon: "iconwuliu",
            name:"角色列表",
            router:"/user/role",
            serviceName: "user",
        }]
	   },
       {
		icon: "iconkaiqipingmu",
		id: "1421416093810024449",
		intro: "",
		link: "http://localhost:8080/#/module/lists",
		name: "订单管理",
		openType: 1,
		pid:"-1",
		pname:"",
		serviceName:"order",
		sort: 0,
		type: 0,
        router:"",
        children:[{
            name:"查看订单",
            router:"/order/list",
            serviceName: "order",
        },{
            name:"未付款订单",
            router:"/order/detail",
            serviceName: "order",
        }]
	   },
       {
		icon: "iconkaiqipingmu",
		id: "1421416093810024449",
		intro: "",
		link: "http://localhost:8080/#/module/lists",
		name: "商品管理",
		openType: 1,
		pid:"-1",
		pname:"",
		serviceName:"goods",
		sort: 0,
		type: 0,
        router:"",
        children:[{
            icon: "iconwuliu",
            name:"商品例表",
            router:"/goods/list",
            serviceName: "goods",
        },{
            icon: "iconjiaoseguanli",
            name:"添加商品",
            router:"/goods/goodsAdd",
            serviceName: "goods",
        }]
	   }
    ])

}

export const MenuClass=new Menu();



